projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
470447e
)
#fix 608: fix bug in eglot-code-actions
author
João Távora
<joaotavora@gmail.com>
Fri, 29 Jan 2021 16:27:55 +0000
(16:27 +0000)
committer
João Távora
<joaotavora@gmail.com>
Fri, 29 Jan 2021 16:27:55 +0000
(16:27 +0000)
Suggested by GitHub user "vconcat".
* eglot.el (eglot-code-actions): Use a vector for transmitting
action-kind.
GitHub-reference: fix https://github.com/joaotavora/eglot/issues/606
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index b5f6e6f73a1fdf7593e4db2bb8c541ed8936a56b..98e0bcf14fa869094146b45f5b9bb57647ff57fa 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-2554,7
+2554,7
@@
at point. With prefix argument, prompt for ACTION-KIND."
when (cdr (assoc 'eglot-lsp-diag
(eglot--diag-data diag)))
collect it)]
- ,@(when action-kind `(:only
,action-kind
))))))
+ ,@(when action-kind `(:only
[,action-kind]
))))))
(menu-items
(or (cl-loop for action across actions
;; Do filtering ourselves, in case the `:only'